Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I answered this for soneone over at the info pop board, I figured I'd post these simple instructions here for anyone else looking.

The user wanted to move the Extra Information box (at the bottom of the Main Index) to the top. Here's how:

You need to edit the ubbthreads.tmpl file inside the templates/default/ directory.
Scroll to the bottom..... just after where it says
code:

<!--END CATEGORY LOOP-->



Cut from the
code:

<br />



Down through the:
code:

UBBTPRINT;



Paste it in the second line, just after:
code:

<? //UBBTREMARK



Then insert this....as line 2, just in front of what you just moved:
code:

echo <<<UBBTPRINT



then at the very end of the file, just above:
code:

/* UBBTREMARK */ ?>



add:
code:

UBBTPRINT;



If you think there is too much space between your header and the Extra Information box, you can remove the first <br />
I think you'll probably want to remove that.
Hope that made sense. That should do it.

Last edited by AllenAyres; 09/25/2002 10:15 PM.
Sponsored Links
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
thanks Josh


- Allen wavey
- What Drives You?
Joined: Sep 1999
Posts: 339
Kahuna
Kahuna
Offline
Joined: Sep 1999
Posts: 339
I did this exactly, and it seems to be repeating the extra information table before each category... Help!


Muhammad
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Hey,

My laptop died last night....with all my threads files. So until I get a case for this hard drive I won't have access to them to "play" and see if I missed a step.

A couple of things..... did you "cut" (thus 'Move') the code for the extra info...or did you copy (thus duplicating)?

I'll see if I can either find my access information to the member area, or a copy of the ubbthreads.tmpl file so I can check it out for you.

Actually, if you would email me at [][email protected][/] your ubbthreads.tmpl file, I'll take a peek and see what might be wrong.

Joined: Sep 1999
Posts: 339
Kahuna
Kahuna
Offline
Joined: Sep 1999
Posts: 339
Thanks!


Muhammad
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Just sent the fixed file back to you.

Above where I say:
Past it in the second line, just after:

code:
------------------------------------------------------------------------
<? //UBBTREMARK

Of course, I mistyped "paste" it in the second line. I should clarify that this becomes the new line 2. So it goes before the "for($c=0;$c<$catsize;$c++) { //UBBTREMERK" line as well... as this is what goes through the categories.

Hope that helps!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 346
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 23
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)